﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="SimpleForm_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title></title>
</head>
<body>
	<form id="form1" runat="server">
	<t:Manager runat="server">
		<Includes>
			<t:StyleFileInclude Src="~/Res/CSS/Main.css" />
			<t:ScriptFileInclude Src="FileUpload.js" />
		</Includes>
		<Scenarios>
			<t:PostScenario runat="server" ID="ps" PostControlIds="fileUpload" ReturnControlIds="lbl,txt"
				Posting-Client="ps_Posting" Response-Client="ps_Response" />
		</Scenarios>
		<ClientIds>
		<t:AssignedClientId ControlId="fileUpload" Variable="fileUpload" />
		<t:AssignedClientId ControlId="txt" Variable="txt" />
		</ClientIds>
	</t:Manager>
	<div>
		<t:FileUpload runat="server" ID="fileUpload">
		</t:FileUpload>
		<br />
		<t:Button runat="server" ID="btn" Text="Test">
			<Click PostScenarioId="ps" OnServer="btn_Click" />
		</t:Button>
		<br />
		<t:Label runat="server" ID="lbl" />
		<br />
		<t:TextBox runat="server" ID="txt" Mode="MultiLine" style="width: 100%; height: 400px;" />
	</div>
	</form>
</body>
</html>
